<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>投票活动列表页设计</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f8f8f8;
            color: #333;
        }
        .container {
            max-width: 414px;
            margin: 20px auto;
            background: white;
            min-height: 100vh;
            position: relative;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .header {
            display: flex;
            align-items: center;
            padding: 15px;
            border-bottom: 1px solid #f0f0f0;
        }
        .back-button {
            font-size: 18px;
            margin-right: 10px;
        }
        .header-title {
            flex: 1;
            text-align: center;
            font-size: 18px;
            font-weight: 500;
        }
        .header-action {
            font-size: 16px;
        }
        .content {
            padding: 15px;
        }
        .search-bar {
            background: #f5f5f5;
            border-radius: 4px;
            padding: 8px 15px;
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        .search-icon {
            margin-right: 8px;
            color: #999;
        }
        .search-text {
            color: #999;
            font-size: 14px;
        }
        .filter-tabs {
            display: flex;
            margin-bottom: 15px;
            overflow-x: auto;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }
        .filter-tabs::-webkit-scrollbar {
            display: none;
        }
        .filter-tab {
            padding: 6px 12px;
            font-size: 14px;
            color: #666;
            background: #f5f5f5;
            border-radius: 16px;
            margin-right: 8px;
        }
        .filter-tab.active {
            background: #333;
            color: white;
        }
        .activity-list {
            margin-bottom: 20px;
        }
        .activity-item {
            background: white;
            border-radius: 8px;
            margin-bottom: 15px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            border: 1px solid #f0f0f0;
            display: flex;
        }
        .activity-image {
            width: 100px;
            height: 100px;
            background: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .activity-content {
            flex: 1;
            padding: 12px;
            display: flex;
            flex-direction: column;
        }
        .activity-title {
            font-size: 16px;
            margin-bottom: 8px;
            font-weight: 500;
        }
        .activity-desc {
            font-size: 12px;
            color: #666;
            margin-bottom: 8px;
            flex: 1;
        }
        .activity-info {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            color: #999;
        }
        .status-tag {
            display: inline-block;
            padding: 2px 6px;
            border-radius: 2px;
            font-size: 12px;
            margin-left: 5px;
        }
        .status-active {
            background: #e8f5e9;
            color: #4caf50;
        }
        .status-ended {
            background: #f5f5f5;
            color: #9e9e9e;
        }
        .status-upcoming {
            background: #e3f2fd;
            color: #2196f3;
        }
        .empty-state {
            padding: 40px 0;
            text-align: center;
            color: #999;
        }
        .empty-icon {
            font-size: 48px;
            margin-bottom: 10px;
        }
        .empty-text {
            font-size: 14px;
        }
        .create-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: #333;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <div class="back-button">←</div>
            <div class="header-title">投票活动列表</div>
            <div class="header-action">筛选</div>
        </div>
        
        <div class="content">
            <div class="search-bar">
                <div class="search-icon">🔍</div>
                <div class="search-text">搜索活动</div>
            </div>
            
            <div class="filter-tabs">
                <div class="filter-tab active">全部</div>
                <div class="filter-tab">进行中</div>
                <div class="filter-tab">已结束</div>
                <div class="filter-tab">即将开始</div>
                <div class="filter-tab">我参与的</div>
                <div class="filter-tab">我创建的</div>
            </div>
            
            <div class="activity-list">
                <div class="activity-item">
                    <div class="activity-image">
                        <div style="color: #999; font-size: 14px;">图片</div>
                    </div>
                    <div class="activity-content">
                        <div class="activity-title">
                            2023年度最佳员工评选
                            <span class="status-tag status-active">进行中</span>
                        </div>
                        <div class="activity-desc">
                            评选公司年度最佳员工，展示优秀员工风采
                        </div>
                        <div class="activity-info">
                            <div>参与人数: 128</div>
                            <div>截止日期: 12月20日</div>
                        </div>
                    </div>
                </div>
                
                <div class="activity-item">
                    <div class="activity-image">
                        <div style="color: #999; font-size: 14px;">图片</div>
                    </div>
                    <div class="activity-content">
                        <div class="activity-title">
                            最美校园风景摄影大赛
                            <span class="status-tag status-active">进行中</span>
                        </div>
                        <div class="activity-desc">
                            展示校园美丽风景，发现校园之美
                        </div>
                        <div class="activity-info">
                            <div>参与人数: 86</div>
                            <div>截止日期: 11月30日</div>
                        </div>
                    </div>
                </div>
                
                <div class="activity-item">
                    <div class="activity-image">
                        <div style="color: #999; font-size: 14px;">图片</div>
                    </div>
                    <div class="activity-content">
                        <div class="activity-title">
                            创意海报设计大赛
                            <span class="status-tag status-upcoming">即将开始</span>
                        </div>
                        <div class="activity-desc">
                            展示设计才华，评选最佳创意海报
                        </div>
                        <div class="activity-info">
                            <div>参与人数: 0</div>
                            <div>开始日期: 11月25日</div>
                        </div>
                    </div>
                </div>
                
                <div class="activity-item">
                    <div class="activity-image">
                        <div style="color: #999; font-size: 14px;">图片</div>
                    </div>
                    <div class="activity-content">
                        <div class="activity-title">
                            十佳歌手比赛
                            <span class="status-tag status-ended">已结束</span>
                        </div>
                        <div class="activity-desc">
                            校园十佳歌手评选活动
                        </div>
                        <div class="activity-info">
                            <div>参与人数: 156</div>
                            <div>结束日期: 11月10日</div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 空状态示例 -->
            <!--
            <div class="empty-state">
                <div class="empty-icon">📊</div>
                <div class="empty-text">暂无投票活动</div>
            </div>
            -->
        </div>
        
        <div class="create-button">+</div>
    </div>
</body>
</html>